<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
<meta charset="utf-8" />
<title>${session.SOFT_NAME }_智能办公系统</title>
<meta name="description" content="Dashboard" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%include("../../../resapi/style.html"){}%>
<link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet" />
<link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
<link href="/module/jeDate/jedate.css" rel="stylesheet" />
</head>
<body style="overflow-y: auto;">
	<div class="page-body" style="padding: 4px 0px 0px;">
		<div class="main-container container-fluid">
			<div class="page-container">
				<div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
					<div class="well with-header">
						<div class="header bordered-blue">BPM流程维护</div>
						<div class="buttons-preview" id="toobar">
							<span style="margin-left: 10px;">流水号:</span> <span> <input type="text" class="form-control" id="bpmRunNo" name="bpmRunNo" style="width: 100px; display: inline-block;"
								placeholder="流水号">
							</span> <span style="margin-left: 10px;">创建时间:</span> <span> <input type="text" class="form-control" id="beginTime" readonly="readonly"
								style="width: 100px; display: inline-block;" name="beginTime" placeholder="开始时间" style="cursor: pointer;">
							</span> <span> - </span> <span> <input type="text" class="form-control" id="endTime" readonly="readonly" style="width: 100px; display: inline-block;" name="endTime"
								placeholder="终止时间" style="cursor: pointer;">
							</span> <span style="margin-left: 10px">流程分类:</span> <span> <select id="flows" style="width: 150px">
							</select>
							</span> <span style="margin-left: 10px;">发起人:</span> <span> <input type="text" class="form-control" id="createUser" name="createUser"
								style="width: 100px; display: inline-block;" opt-id="createUser" onclick="selectUser(this,'false');" readonly="readonly">
							</span> <span style="margin-left: 10px"><a href="javascript:void(0);" class="btn btn-success js-process-query-but">查询</a></span>
						</div>
						<table id="myTable"></table>
					</div>
				</div>
			</div>
		</div>
	</div>

	<div class="modal fade bs-example-modal-lg" id="toNextModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
		<div class="modal-dialog modal-lg">
			<div class="modal-content">

				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h4 class="modal-title" id="myLargeModalLabel">工作较交设置</h4>
				</div>
				<div class="modal-body" style="padding:0px;">
				<form class="form-horizontal form-bordered" id="form1">
					<table class="table table-hover">
						<thead class="bordered-darkorange">
							<tr>
								<th>#</th>
								<th>步骤名称</th>
								<th>目前操作人</th>
								<th>创建时间</th>
								<th>接收人</th>
								<th>转交操作</th>
							</tr>
						</thead>
						<tbody id="toNextTbody">
						</tbody>
					</table>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-warning" data-dismiss="modal">取消</button>
					<button type="button" class="btn btn-primary js-toNextbtn">确认转交</button>
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal-dialog -->
	</div>
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;" id="goBackProcessModal">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<h4 class="modal-title" id="myLargeModalLabel">回退任一一步</h4>
				</div>
				<div class="modal-body" style="padding:0px;">
				<table class="table table-striped table-bordered table-hover dataTable no-footer" aria-describedby="simpledatatable_info">
                                        <thead>
                                        <tr>
                                        	<th style="width:50px;">选择</th>
                                            <th>步骤名称</th>
                                            <th>主办人</th>
                                            <th>办理时间</th>
                                           </tr>
                                        </thead>
                                        <tbody id="cangotbody">
                                         </tbody>
                                    </table>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-warning" data-dismiss="modal">取消</button>
					<button type="button" class="btn btn-primary js-goBackProcess">确认</button>
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal-dialog -->
	</div>

	<div id="orgselectdiv"></div>
</body>
<%include("../../../resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-zh-CN.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/bpm/bpmsys.js"></script>
<script type="text/javascript" src="/gobal/js/page/bpm/maintain.js"></script>
</html>